package com.cloud.pole.common.constant;

/**
 * @Author: Frank Chen
 * @Date: 2019/11/18 11:37
 */
public class RebbitConstants {
    /**
     * 处理账务状态
     * 1：成功
     * 0：失败
     */
    public  static final  int HANDLE_BALANCE_STATUS_SUCCEED = 1;
    public  static final  int HANDLE_BALANCE_STATUS_ERROR   = 0;

    /**
     * 操作日志
     */
    public static final  String REBBIT_COMMON_LOG = "rebbit_common_log";
    /**
     * 操作用余额
     */
    public static final  String REBBIT_USER_ACCOUNT_BALANCE = "rebbit_user_account_balance";
    /**
     * 计算分销奖金（乐孕）
     */
    public static final  String REBBIT_TUBE_USER_BONUS = "rebbit_tube_user_bonus";

    /**
     * 订单
     */
    public static final  String REBBIT_SHOP_ORDER = "rebbit_shop_order";
    //exchange name
    public static final String REBBIT_SHOP_ORDER_EXCHANGE = "rebbit_shop_order_exchange";
    //TTL QUEUE
    public static final String REBBIT_SHOP_ORDER_DEAD_LETTER = "rebbit_shop_order_dead_letter";
    //DLX repeat QUEUE 死信转发队列
    public static final String REBBIT_SHOP_ORDER_REPEAT_TRADE = "rebbit_shop_order_repeat_trade";
    /**
              * 订单付款成功
     */
    public static final  String REBBIT_SHOP_ORDER_PAY_SUCCEED = "rebbit_shop_order_pay_succeed";


    /**
     * 商城订单同步参数
     */
    public static final  String SYN_PRAMS_SHOP_JOIN_APPID_DEFAULT = "0";
    public static final  String SYN_PRAMS_SHOP_PG_ORDERSN = "pgOrderSn";
    public static final  String SYN_PRAMS_SHOP_NONCE_STR = "nonceStr";
    public static final  String SYN_PRAMS_SHOP_TRANSACTION_ID = "transactionId";
    public static final  String SYN_PRAMS_SHOP_JOIN_APPID = "joinAppId";
    public static final  String SYN_PRAMS_SHOP_SIGN = "sign";
    public static final  String SYN_PRAMS_SHOP_RETURN_BACK_STATUS = "returnBackStatus";
    /**
     * 用户转换同步参数
     */
    public static final  String SYN_PRAMS_USER_TRANSF_DETAIL_ID = "detailId";
    public static final  String SYN_PRAMS_USER_TRANSF_STEP_NUM = "stepNum";
    /**
     * 用户提现参数
     */
    public static final  String SYN_PRAMS_USER_WITHDRAW_ID = "withdrawId";
    public static final  String SYN_PRAMS_USER_WITHDRAW_DIRECT = "direct";

    /**
     * 佣金发放同步参数
     */
    public static final  String SYN_PRAMS_DIRECT_COMMI_DETAIL_ID = "detailId";

}
